6.8
MEDIUM CVSS 2.0
CVE-2009-5018
gif2png Buffer Overflow Vulnerability
Description

Stack-based buffer overflow in gif2png.c in gif2png 2.5.3 and earlier might allow context-dependent attackers to execute arbitrary code via a long command-line argument, as demonstrated by a CGI program that launches gif2png.

INFO

Published Date :

Jan. 14, 2011, 5 p.m.

Last Modified :

April 11, 2025, 12:51 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2009-5018 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Catb gif2png
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
Solution
A buffer overflow vulnerability exists in gif2png, which could allow for arbitrary code execution.
  • Update the gif2png package to the latest version.
  • If updating via a package manager, follow the vendor's instructions.
Public PoC/Exploit Available at Github

CVE-2009-5018 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2009-5018.

URL Resource
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978 Patch
http://bugs.gentoo.org/show_bug.cgi?id=346501
http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=log Patch
http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html Patch
http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html Patch
http://openwall.com/lists/oss-security/2010/11/21/1 Patch
http://openwall.com/lists/oss-security/2010/11/22/1 Patch
http://openwall.com/lists/oss-security/2010/11/22/12
http://openwall.com/lists/oss-security/2010/11/22/3
http://secunia.com/advisories/42796 Vendor Advisory
http://security.gentoo.org/glsa/glsa-201101-01.xml
http://www.mandriva.com/security/advisories?name=MDVSA-2011:009
http://www.securityfocus.com/bid/41801
http://www.vupen.com/english/advisories/2010/3036 Vendor Advisory
http://www.vupen.com/english/advisories/2011/0023 Vendor Advisory
http://www.vupen.com/english/advisories/2011/0107
https://bugzilla.redhat.com/show_bug.cgi?id=547515 Exploit Patch
https://exchange.xforce.ibmcloud.com/vulnerabilities/64820
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978 Patch
http://bugs.gentoo.org/show_bug.cgi?id=346501
http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=log Patch
http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html Patch
http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html Patch
http://openwall.com/lists/oss-security/2010/11/21/1 Patch
http://openwall.com/lists/oss-security/2010/11/22/1 Patch
http://openwall.com/lists/oss-security/2010/11/22/12
http://openwall.com/lists/oss-security/2010/11/22/3
http://secunia.com/advisories/42796 Vendor Advisory
http://security.gentoo.org/glsa/glsa-201101-01.xml
http://www.mandriva.com/security/advisories?name=MDVSA-2011:009
http://www.securityfocus.com/bid/41801
http://www.vupen.com/english/advisories/2010/3036 Vendor Advisory
http://www.vupen.com/english/advisories/2011/0023 Vendor Advisory
http://www.vupen.com/english/advisories/2011/0107
https://bugzilla.redhat.com/show_bug.cgi?id=547515 Exploit Patch
https://exchange.xforce.ibmcloud.com/vulnerabilities/64820
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2009-5018 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Perl 6 Perl ASP HTML Rich Text Format Visual Basic TeX Assembly Shell

Updated: 1 year ago
1 stars 1 fork 1 watcher
Born at : June 13, 2019, 1:51 p.m. This repo has been linked 308 different CVEs too.

The vm images in this repo are lost, we recommend our new project: https://github.com/hust-open-atom-club/S2VulnHub

linux vulnerability reproduction cve edb

Shell C Perl PHP TeX Python Assembly Makefile HTML XSLT

Updated: 2 months ago
331 stars 74 fork 74 watcher
Born at : July 30, 2015, 10:36 a.m. This repo has been linked 309 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2009-5018 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2009-5018 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550978
    Added Reference http://bugs.gentoo.org/show_bug.cgi?id=346501
    Added Reference http://cvs.fedoraproject.org/viewvc/rpms/gif2png/devel/gif2png-overflow.patch?root=extras&view=log
    Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2010-November/051229.html
    Added Reference http://lists.grok.org.uk/pipermail/full-disclosure/2009-December/072009.html
    Added Reference http://openwall.com/lists/oss-security/2010/11/21/1
    Added Reference http://openwall.com/lists/oss-security/2010/11/22/1
    Added Reference http://openwall.com/lists/oss-security/2010/11/22/12
    Added Reference http://openwall.com/lists/oss-security/2010/11/22/3
    Added Reference http://secunia.com/advisories/42796
    Added Reference http://security.gentoo.org/glsa/glsa-201101-01.xml
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2011:009
    Added Reference http://www.securityfocus.com/bid/41801
    Added Reference http://www.vupen.com/english/advisories/2010/3036
    Added Reference http://www.vupen.com/english/advisories/2011/0023
    Added Reference http://www.vupen.com/english/advisories/2011/0107
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=547515
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/64820
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Aug. 17, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/64820 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/64820 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 14, 2011

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

23.98 }} 0.57%

score

0.95716

percentile